import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
import router from './router'

import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'

import '@/utils/flexible.js'
//引入echarts
import * as echarts from 'echarts';


const app = createApp(App)
app.use(router)
app.use(ElementPlus, {
  locale: zhCn,
})
// 全局注册echarts
app.config.globalProperties.$echarts = echarts;
app.mount('#app')
 
